/**
 * 任务报告数据模型，对应数据库 we_ai_task_reports 表
 */
export interface TaskReport {
  id: number;
  title: string;
  isNewProject: string;
  isNewDone: string | null;
  status: 'todo' | 'inProgress' | 'done';
  type: string;
  subType: string;
  busiDepartment: string | null;
  busiGoal: string | null;
  itDepartment: string | null;
  progressRating: string;
  progressSummary: string;
  periodStartDate: string;
  periodEndDate: string;
  originalPlan: string | null;
  actualProgress: string | null;
  problems: string | null;
  receiver: string | null;
  createdTime: string;
}

/**
 * 任务报告列表响应数据
 */
export interface TaskReportListResponse {
  list: TaskReport[];
  total: number;
}

/**
 * 通用API响应格式
 */
export interface ApiResponse<T> {
  code: number;
  message: string;
  data: T;
}
